CC = gcc
LIBS=-L/usr/lib/mysql -lmysqlclient -lm
INCLUDES=-I/usr/include/mysql
all:dbconfig
hashmap.o:hashmap.c
	$(CC) -c hashmap.c -g
dbconfig.o:hashmap.o dbconfig.c
	$(CC) -c $(INCLUDES) dbconfig.c -g
dbconfig:dbconfig.o
	$(CC) -o dbconfig *.o $(LIBS) -g
clean:
	rm -f *.o dbconfig
